package com.lovo.sheyingback.dao;

import com.lovo.sheyingback.bean.Swiper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author BDK-THINKPAD
* @description 针对表【t_swiper(首页轮播图表)】的数据库操作Mapper
* @createDate 2023-07-28 15:47:06
* @Entity com.lovo.sheyingback.bean.Swiper
*/
@Repository
public interface SwiperMapper {
    List<Swiper> listSwiper();
    Swiper getById(Integer id);
    int getMaxIndex();
    int insert(Swiper swiper);
    int update(Swiper swiper);
    int updateIndex(Integer index,Integer val);
    int updateAfterIndex(Integer id);
    int delete(Integer id);
}




